<?php
define('InEmpireBakData',TRUE);
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 5.1
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `jzb_auth_extend`;");
E_C("CREATE TABLE `jzb_auth_extend` (
  `group_id` mediumint(10) unsigned NOT NULL COMMENT '用户id',
  `extend_id` mediumint(8) unsigned NOT NULL COMMENT '扩展表中数据的id',
  `type` tinyint(1) unsigned NOT NULL COMMENT '扩展类型标识 1:栏目分类权限;2:模型权限',
  UNIQUE KEY `group_extend_type` (`group_id`,`extend_id`,`type`) USING BTREE,
  KEY `uid` (`group_id`) USING BTREE,
  KEY `group_id` (`extend_id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户组与分类的对应关系表'");
E_D("replace into `jzb_auth_extend` values('1','1','1');");
E_D("replace into `jzb_auth_extend` values('1','1','2');");
E_D("replace into `jzb_auth_extend` values('1','2','1');");
E_D("replace into `jzb_auth_extend` values('1','2','2');");
E_D("replace into `jzb_auth_extend` values('1','3','1');");
E_D("replace into `jzb_auth_extend` values('1','3','2');");
E_D("replace into `jzb_auth_extend` values('1','4','1');");
E_D("replace into `jzb_auth_extend` values('1','37','1');");

require("../../inc/footer.php");
?>